//
//  MyAttentionTableViewCell.m
//  WE
//
//  Created by 要帅气的生活 on 15/11/25.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "MyAttentionTableViewCell.h"

@implementation MyAttentionTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _img = [UIImageView new];
        [self.contentView addSubview:_img];
        
        _label = [UILabel new];
        [self.contentView addSubview:_label];
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _label.frame = CGRectMake(10, 0, self.frame.size.width/2, self.frame.size.height);
    _img.frame = CGRectMake(self.frame.size.width-30, 15, 20, 20);
    _img.image = [UIImage imageNamed:@"you.png"];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
